package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
@TableName("IG_PARTY_BRANCH_MANAGE")
public class IgPartyBranchManage extends Model<IgPartyBranchManage> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId("PARTY_BRANCH_ID")
    private String partyBranchId;

    /**
     * 支部编码
     */
    @TableField("PARTY_BRANCH_CODE")
    private String partyBranchCode;

    /**
     * 支部名称
     */
    @TableField("PARTY_BRANCH_NAME")
    private String partyBranchName;


    public String getPartyBranchId() {
        return partyBranchId;
    }

    public IgPartyBranchManage setPartyBranchId(String partyBranchId) {
        this.partyBranchId = partyBranchId;
        return this;
    }

    public String getPartyBranchCode() {
        return partyBranchCode;
    }

    public IgPartyBranchManage setPartyBranchCode(String partyBranchCode) {
        this.partyBranchCode = partyBranchCode;
        return this;
    }

    public String getPartyBranchName() {
        return partyBranchName;
    }

    public IgPartyBranchManage setPartyBranchName(String partyBranchName) {
        this.partyBranchName = partyBranchName;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.partyBranchId;
    }

    @Override
    public String toString() {
        return "IgPartyBranchManage{" +
        "partyBranchId=" + partyBranchId +
        ", partyBranchCode=" + partyBranchCode +
        ", partyBranchName=" + partyBranchName +
        "}";
    }
}
